package com.hnit.applet;

import com.hnit.applet.common.config.AppUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zwj
 */
@SpringBootApplication
@EnableScheduling
@EnableTransactionManagement
@EnableDiscoveryClient
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class NacosTestApplication {
    public static void main(String[] args) {
        AppUtil.initApp(SpringApplication.run(NacosTestApplication.class, args));
    }
}